Notify
Error - Notify of an error ("throw exception")
This action notifies of an error that has occurred (server side only).
The notified error is handled according to the standard policy of error handling in Tersus: Process execution is stopped and an error is displayed on screen, unless the parent action (or one of its grand-parents in the model hierarchy) has an error exit, in which case the error is sent out through this exit and execution of subsequent models continues.
Triggers
<Error> (non-repetitive error trigger [not
required]): The error to be notified (an Error data
structure). If <Error> is not specified, <Message>
must be specified.
<Details> (non-repetitive text trigger [not required]): The error details (will be returned as the Details element of the Error data structure). If <Error> is also specified, the value passed through the <Details> trigger overrides the value in the Details element of the Error data structure passed through <Error>
Usage Example 1